﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.Web.Routing;
using Vit.Web;
using Vit.Web.Models;

namespace Vit.Web.Models
{
    public class Widget 
    {
        [Key]
        [StringLength(50)]
        public string WidgetName { get; set; }
        [Required]
        [StringLength(50)]
        public string Action { get; set; }
        [Required]
        [StringLength(50)]
        public string Controller { get; set; }
        [StringLength(50)]
        public string Area { get; set; }
        [StringLength(2000)]
        public string DefaultParameters { get; set; }
        [StringLength(200)]
        public string HelpUrl { get; set; }
    }
}
